package com.z996.spring6.controller;

import com.z996.spring6.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import java.util.logging.Logger;

/**
 * 简述:<br>
 * 用户控制器
 *
 * @Author zfh18
 * @Date 2024-03-01 14:19
 * @Version 1.0
 **/
@Controller
public class UserController {
    @Autowired
    private UserService userService;
    Logger logger = Logger.getLogger(getClass().getName());


    public void add() {
        userService.add();
        logger.info("Controller ...");
    }
}
